#ifndef SEARCHDIALOG_H
#define SEARCHDIALOG_H

#include <QDialog>
#include <QString>
#include <QtDBus>

QT_BEGIN_NAMESPACE
class QDialogButtonBox;
class QLabel;
class QLineEdit;
class QWidget;
QT_END_NAMESPACE

class SearchDialog : public QDialog
{
    Q_OBJECT

public:
    SearchDialog(const QString &title, QWidget *parent);

public slots:
    void verify();

public:
    QString searchText() const;

private:
    QLabel *searchLabel;
    QLineEdit *searchEdit;
    QDialogButtonBox *buttonBox;
};

#endif // SEARCHDIALOG_H
